import request from '@/utils/request1'

// 新增账号
export function addTenderCenterAccount(data) {
  return request({
    url: '/tenderCenterAccount/addTenderCenterAccount',
    method: 'POST',
    data
  })
}

// 根据Id获取账号信息
export function findInfoById(params) {
  return request({
    url: '/tenderCenterAccount/findInfoById',
    method: 'POST',
    params
  })
}

// 修改信息 删除记录信息
export function changeTenderCenterAccount(data) {
  return request({
    url: '/tenderCenterAccount/changeTenderCenterAccount',
    method: 'POST',
    data
  })
}

// 获取账号列表信息分页
export function getListTenderCenterAccount(params) {
  return request({
    url: '/tenderCenterAccount/getListTenderCenterAccountByParam',
    method: 'POST',
    params
  })
}
